home *** CD-ROM | disk | FTP | other *** search
- {
- /* Many keys are already bound by the Text system default key binding dictionary */
- /* "generic" bindings */
- "^v" = "pageDown:";
- "^L" = "moveSelToFirstVisLine:";
- "^ " = "mark:";
- "^S" = "selectToMark:";
- "^M" = "selectToMatchingParen:";
- "^o" = "openLine:";
- "^h" = "backDelete:";
- /* incremental searching */
- "^s" = "isearchForward:";
- "^r" = "isearchBackward:";
- "^g" = "abort:";
- "^y" = "yankCommand:";
- "^w" = "killRegion:";
- "^i" = "indentSelection:";
- "^m" = "isearchMethodForward:";
- "^q" = "quoteNextChar:";
- "^c" = "interrupt:";
- "{" = "processOpenBrace:"; /* handles possible auto-insert of closing brace */
-
- /* alt key combinations */
- "~f" = "moveWordForward:";
- "~b" = "moveWordBackward:";
- "~<" = "moveToBeginningOfDocument:";
- "~>" = "moveToEndOfDocument:";
- "~v" = "pageUp:";
- "~d" = "forwardDeleteWord:";
- "~l" = "showAllCompletions:";
- "~/" = "complete:";
- "~\033" = "doCompletionWide:";
- "~ " = "compressWhitespaceAroundCursor:";
- "~^" = "compressWhitespaceForLine:";
- "~y" = "yankPop:";
- "~w" = "copyRegion:";
- "~Z" = "debugKeyBindings:";
- "~T" = "testTextInternalsAccess:";
- "~A" = "testAlertPanel:";
- "~W" = "testWindowDisplay:";
- "~{" = "quotedInsert:";
- "~}" = "quotedInsert:";
- "~:" = "quotedInsert:";
- "~." = "showDefOrOpenSelection:";
-
- /* Control-X */
- "^x" = {
- "^x" = "exchangePointAndMark:";
- "o" = "nextBuffer:";
- "^f" = "openFileCommand:";
- "^v" = "openFileCommand:";
- "b" = "switchFileCommand:";
- "^o" = "switchFileCommand:";
- "^s" = "saveFileCommand:";
- "s" = "saveAllModifiedCommand:";
- "^m" = "saveAllModifiedCommand:";
- "^w" = "saveAsFileCommand:";
- "u" = "undoCommand:";
- "r" = "redoCommand:";
- "2" = "splitVertically:";
- "1" = "deleteOtherViews:";
- "0" = "deleteThisView:";
- "(" = "startKeyboardMacro:";
- ")" = "endKeyboardMacro:";
- "e" = "executeKeyboardMacro:";
- "^b" = "showBufferList:";
- "k" = "killBuffer:";
- "i" = "insertFileCommand:";
- "g" = "nextFinderListItemCommand:";
- "d" = "prevFinderListItemCommand:";
- /* general next/prev item; default is for compile errors */
- "n" = "nextItemCommand:";
- "`" = "nextItemCommand:";
- "p" = "prevItemCommand:";
- };
-
- /* Available, but unbound selectors:
- backwardDeleteWord:
- prevBuffer:
- */
- }
-